package com.dgut.smart_house.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Slf4j
@Controller
public class DeviceController {


    @RequestMapping("/realData")
    public String realData() {
        return "realData";
    }

    @RequestMapping("/deviceSet")
    public String deviceSet() {
        return "deviceSet";
    }


    @RequestMapping("/device/{devId}")
    public String toListPage() {
        return "list";
    }


    @RequestMapping("/deviceSet/addDevice")
    public String addDevice() {
        return "addDevice";
    }

    @RequestMapping("/deviceSet/addKeyCardMember")
    public String addKeyCardMember() {
        return "addKeyCardMember";
    }

    @RequestMapping("/KeyCarLog")
    public String KeyCarLog(){
        return "KeyCarLog";
    }

    @RequestMapping("/KeyCardMember")
    public String KeyCarMember(){
        return "KeyCardMember";
    }

    @RequestMapping("/handle")
    public String handle(){
        return "handle";
    }
}
